<%= form_remote_tag(:update => "main",
                    :loading => "new Effect.Appear('indicator')",
                    :complete => "Element.hide('indicator')",
                    :url => { :action => :create } ) %> 
<span id="indicator" style="display:none;"><%= image_tag "loading.gif" %></span>
<label>Blog's URL: </label> <%= text_field 'blog', 'url',:size => 24  %>
<%= submit_tag "Submit!" %> 
<%= end_form_tag %> 

